package com.bwie.controller;

import com.bwie.service.TbHdService;
import com.bwie.utils.R;
import com.bwie.vo.PageInfoVo;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/user/index")
public class TbHdController {

    @Autowired
    TbHdService tbHdService;

    @ApiOperation("列表1")
    @PostMapping("ListHd")
    public R ListHd(@RequestBody PageInfoVo pageInfoVo){
        return tbHdService.ListHd(pageInfoVo);
    }
    @ApiOperation("列表2")
    @PostMapping("ListJl")
    public R ListJl(@RequestBody PageInfoVo pageInfoVo){
        return tbHdService.ListJl(pageInfoVo);
    }
    @ApiOperation("列表3")
    @PostMapping("ListJp")
    public R ListJp(@RequestBody PageInfoVo pageInfoVo){
        return tbHdService.ListJp(pageInfoVo);
    }
}
